================================= Title:Around Mt.Fuji Adventure Tour
Sacred shrines echo in the wind, Embracing the unknown, riding on E-BIKE, The melody of the fields, the heartbeat of the earth, In the depths of caves, treasures concealed, Dreams painted on the shores of the lake.
On our e-bike tour, every moment's a thrill (oh-yeah) At the foot of Mount Fuji, the adventure begins.
Exploring cultural heritage on E-BIKE, Life at the foothills of Mount Fuji, resonates within, The landscapes weave an emotional poem, Unending adventures, a journey to dreams.
Mystical shrines, the breath of history, Proud lands, a stage set in melody, The song of the fields, the heartbeat of the earth, In the mystery of caves, the magic of treasures, Colors of dreams reflected on the lakeside.
Exploring cultural heritage on E-BIKE, Life at the foothills of Mount Fuji, resonates within, The landscapes weave an emotional poem, Unending adventures, a journey to dreams.
Guided by Mount Fuji beneath the starry sky, The light of E-BIKE shining toward a brilliant future, Imprints of adventure on the heart, A quiet continuation of the fantastical journey.
Guided by Mount Fuji beneath the starry sky, The light of E-BIKE shining toward a brilliant future, Imprints of adventure on the heart, A quiet continuation of the fantastical journey.
-- 与えられた日の日の出と日の入りの時間(秒)を計算 local sunrise_sec = zero_oclock + sunrise * 60 local sunset_sec = zero_oclock + sunset * 60 local now_sec = os.time(date)
--[[ Debug Section START local t = os.date("*t", sunrise_sec) local time_str = string.format("%04d-%02d-%02d %02d:%02d:%02d", t.year, t.month, t.day, t.hour, t.min, t.sec) obs.script_log(obs.LOG_INFO, "Current time: " .. time_str) local t = os.date("*t", sunset_sec) local time_str = string.format("%04d-%02d-%02d %02d:%02d:%02d", t.year, t.month, t.day, t.hour, t.min, t.sec) obs.script_log(obs.LOG_INFO, "Current time: " .. time_str) ]]
if sunrise_sec <= now_sec and now_sec <= sunset_sec then return true else return false end end
--シーンの切り替え function switch_scene(scene_name) local scenes = obs.obs_frontend_get_scenes()
for _, scene in ipairs(scenes) do local scenes_list = obs.obs_source_get_name(scene) if scenes_list == scene_name then if scenes_now ~= scene_name then scenes_now = scene_name obs.obs_frontend_set_current_scene(scene)
local t = os.date("*t") local chg_str = string.format("%02d-%02d %02d:%02d -- %s", t.month, t.day, t.hour, t.min, scene_name) obs.script_log(obs.LOG_INFO, "Switched scene: " .. chg_str)
end break end end end
--日中ならWEB251、夜ならWEB252 function check_time() if is_daytime(latitude, longitude, sunrise_margin, sunset_margin) then switch_scene(scene_WEB251) else switch_scene(scene_WEB252) end end
-- function script_description() return "Script to switch scenes at specified times." end
-- function script_load(settings) obs.timer_add(check_time, 60 * 1000) end